/*
** x_write.c for lib in /home/boulah_m/corawarmous/lib
**
** Made by moustafa boulahia
** Login   <boulah_m@epitech.net>
**
** Started on  Wed Feb 22 08:31:16 2012 moustafa boulahia
** Last update Wed Feb 22 08:43:38 2012 moustafa boulahia
*/
#include <unistd.h>
#include <stdlib.h>

int	x_write(int fd, const void *buf, size_t count)
{
  if (write(fd, buf, count) == -1)
      return (EXIT_FAILURE);
  return (EXIT_SUCCESS);
}
